<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>add goods</title>
</head>
<body style="text-align: center; margin: 0 auto;">
	<h1>add goods</h1>
	<form action="add" method="post">
		<select name="wid">
		<c:forEach items="${sessionScope.wares}" var="w">
			<option value="${w.id}">${w.addr}</option>
		</c:forEach>
		</select> <br>
		goodsname:&nbsp;<input type="text" name="name" /> <br />
		price:&nbsp;<input type="number" name="price"><br />
		number:&nbsp;<input type="number" name="num"><br />
		produceDate:&nbsp;<input type="date" name="pdate"><br />
		<input type="submit" name="submit" />
	</form>
	
</body>
</html>